From 773a0fb6f1a67dddfb929e10fb14f2636ac4e36f Mon Sep 17 00:00:00 2001 From: Jeroen van der Heijden Date: Fri, 12 Oct 2018 20:28:41 +0200 Subject: [PATCH] Messages in config --- src/siri/cfg/cfg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/siri/cfg/cfg.c b/src/siri/cfg/cfg.c index 581b9779..210d2d89 100644 --- a/src/siri/cfg/cfg.c +++ b/src/siri/cfg/cfg.c @@ -170,7 +170,7 @@ static void SIRI_CFG_read_uint( if (rc != CFGPARSER_SUCCESS) { log_warning( - "Error reading '%s' in '%s': %s. " + "Missing '%s' in '%s': %s. " "Using default value: '%u'", option_name, siri.args->config, @@ -218,7 +218,7 @@ static void SIRI_CFG_read_ip_support(cfgparser_t * cfgparser) if (rc != CFGPARSER_SUCCESS) { log_warning( - "Error reading '%s' in '%s': %s. " + "Missing '%s' in '%s': %s. " "Using default value: '%s'", "ip_support", siri.args->config, @@ -386,7 +386,7 @@ static void SIRI_CFG_read_pipe_client_name(cfgparser_t * cfgparser) if (rc != CFGPARSER_SUCCESS) { log_warning( - "Error reading '%s' in '%s': %s. " + "Missing '%s' in '%s': %s. " "Using default value: '%s'", "pipe_client_name", siri.args->config, @@ -445,7 +445,7 @@ static void SIRI_CFG_read_default_db_path(cfgparser_t * cfgparser) if (rc != CFGPARSER_SUCCESS) { log_warning( - "Error reading '%s' in '%s': %s. " + "Missing '%s' in '%s': %s. " "Using default value: '%s'", "default_db_path", siri.args->config, @@ -607,7 +607,7 @@ static void SIRI_CFG_read_address_port( if (rc != CFGPARSER_SUCCESS) { log_critical( - "Error reading '%s' in '%s': %s.", + "Missing '%s' in '%s': %s.", option_name, siri.args->config, cfgparser_errmsg(rc)); -- 2.30.2